package com.fowo.api.sys.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(title = "地区")
@TableName(value = "sys_area", autoResultMap = true)
public class SysArea implements Serializable {

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    private String type;

    private String code;

    private String name;

    private Long parentId;
}
